Repository navigation
Fix SQLite prepare and value contracts [skip ci] - #231
Merged
Merged
Conversation
noise64
marked this pull request as ready for review
November 25, 2026 09:59
noise64
marked this pull request as draft
November 25, 2026 10:24
noise64
changed the base branch from
fix-sqlite-prepare-options
to
node-26-target
November 25, 2026 10:24
noise64
marked this pull request as ready for review
November 25, 2026 22:45
noise64
marked this pull request as draft
November 26, 2026 07:17
noise64
marked this pull request as ready for review
November 26, 2026 11:15
vigoo
approved these changes
Nov 26, 2026
vigoo
left a comment
Contributor
There was a problem hiding this comment.
Reviewed the delta against #218 (fad0d5f). No blocking findings in the SQLite prepare-option validation, transaction-state checks, or Number binding changes. Checked the contracts against Node 26.13.1 and ran the three new public fixtures on pinned Node; all passed. Confirmed that exact-head CI explicitly passed the new runtime tests and five promoted compatibility cases. WASM execution evidence is from CI, not a local rebuild. This approval covers only this delta, not broader SQLite gaps or downstream PRs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Database.prepareboolean options in Node 26 order, preserving defaults, explicit false overrides, inherited/getter properties and setters; rejects invalid options and rechecks database state after getters. The private accumulator now has a null prototype so inherited getter-only properties cannot reject explicit own optionsERR_INVALID_STATEforisTransactionon unopened/closed databases; binds JS Numbers as SQLite REAL and explicit BigInts as INTEGER, preserving column affinitiesfad0d5f0into this branch atd3e9d832; only the generated report conflicted and was regenerated from merged config. SQLite implementation/fixtures remain byte-identical to the separately reviewedd164f442repair. Fix SQLite prepare options #230 is redundant; downstream Add optional zstd support #232/Fix SQLite statement ownership #237 remain separate. No earlier agreement or approval transfers to this candidateNode compatibility
Actual #218 base
fad0d5f0→ headd3e9d832: runnable 3195 → 3200, known gaps 1304 → 1299; primary 3195/4499 (71.0%) → 3200/4499 (71.1%); full public 3195/9654 (33.1%) → 3200/9654 (33.1%). Total 10794 unchanged. SQLite runnable 27 → 32, known gaps 32 → 27, total 117 unchanged.Only five complete upstream cases are restored: four prepare-option cases and
isTransaction. No vendor edits or blanket promotions. Number binding is verified through public result controls; its broader upstream suites still fail.Validation and limits
-Dwarnings), formatting, five skeleton Clippy lanes and dev-tool format/lint/TypeScript passed. Generated JS/native SQLite source bytes match the candidated3e9d832: all 28 executed validation jobs passed; release/publish skipped. No manual rerun. Green #218 CI 45798881357 validates only the includedfad0d5f0foundation. Historical CI 45428022548 validates the Fix SQLite prepare options #230 ancestor9747a859: 24 executed jobs passed, compatibility 3162 passed / 7632 skipped, runtime 592 passed / 4 skipped, test-other 160 passed; Proof/release/publish skipped. No downstream full-suite or fork run is claimed locallyred-inputs-final.sha256hashes an earlier fixture, not the final-red fixture; same-final-test chronology rests on reviewed command history/source reconstruction. Frozen evidence is unchanged. Fix SQLite prepare and value contracts [skip ci] #231 red binaries were not retained; author-run precommit evidence and excluded zero-selection/incorrect-negative-zero attempts remain qualifiedfull-p3runtime andfull-no-logging-p3,golem,typescript-runtimecompatibility components. Harness Golem features do not establish consumer/recovery or shipped-artifact qualification. No new crypto/DH, zstd or NJ-03 scope is included